# Variables:
CC      = @g++
CFLAGS  = -Wall -pedantic
LIBS    = `sdl-config --cflags --libs` -lSDL_ttf -lSDL_image
SRC	= Object.cpp PlayerObject.cpp WallObject.cpp StoneObject.cpp \
      DiamondObject.cpp DirtObject.cpp EmptyObject.cpp TitleScreen.cpp \
      GateObject.cpp Engine.cpp main.cpp

# Rules:
all:
	$(CC) $(LIBS) $(CFLAGS) $(SRC) -o bs

debug:
	$(CC) $(LIBS) $(CFLAGS) $(SRC) -o bs -g
